import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { BaseExceptionComponent } from './exception/exception.component';
import { LayoutBlankComponent } from '@layout/blank/blank.component';


const routes: Routes = [
	{
		path: '',
		component: LayoutBlankComponent,
		children: [
			{ path: 'exception/403', component: BaseExceptionComponent, data: { type: '403' } },
			{ path: 'exception/404', component: BaseExceptionComponent, data: { type: '404' } },
			{ path: 'exception/500', component: BaseExceptionComponent, data: { type: '500' } }
		]
	},
];

@NgModule({
	imports: [RouterModule.forChild(routes)]
})
export class BaseRoutingModule { }